package com.jsmtr.rms.dao;

import java.util.List;
import java.util.Map;

public interface DaoServiceSupper extends DaoService {


    /**
     * 根据参数和类删除信息
     *
     * @param t 要删除的实体类
     * @return 是否删除成功
     * @throws Exception
     */
    @SuppressWarnings("rawtypes")
    public boolean deleteByLike(Map<String, String> param, Class clss) throws Exception;

    /**
     * 根据SQL和参数Map查询
     *
     * @param sql   SQL语句
     * @param param 要查询的参数
     * @return 查询结果
     * @throws Exception
     */
    @SuppressWarnings("rawtypes")
    public List listByLike(Map<String, String> param, List<String> orders, Class clss) throws Exception;

}